<?php

	
	// define the constants based on the enrivonment
	if($_SERVER['SERVER_NAME'] == "localhost")
	{
		// This is the dev environment	
		define("DB_HOST","monkey\SQLExpress");
		define("DB_USERNAME","Admin");
		define("DB_PASSWORD","password");
		define("DB_NAME","labprod");
		define("DEV_EMAIL","robert.lyndon.davis@gmail.com");
		define("DEV_ID","devid");
		define("ENV_TYPE",EnvTypes::DEV);		
		define("LAB_URL","http://localhost/Lab/lab.aspx");
		
		
	}else
	{
		// This is the live environment
		define("DB_HOST","labprod.db.7590334.hostedresource.com");
		define("DB_USERNAME","LabProd");
		define("DB_PASSWORD","Arm@dillo2");
		define("DB_NAME","labprod");
		define("ENV_TYPE", EnvTypes::LIVE);
		define("LAB_URL","http://lab.monkelabs.com/lab.aspx");
		
	}
	
	class EnvTypes
	{
		const DEV = 0;
		const LIVE = 1;	
	}
	
	
?>